//package com.zbkj.common.netty;
//
//import cn.easyes.annotation.IndexField;
//import cn.easyes.annotation.IndexId;
//import cn.easyes.annotation.IndexName;
//import cn.easyes.annotation.rely.FieldType;
//import cn.easyes.annotation.rely.IdType;
//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;
//import lombok.Data;
//import lombok.EqualsAndHashCode;
//import lombok.experimental.Accessors;
//
///**
// * @author Administrator
// */
//@Data
//@EqualsAndHashCode(callSuper = false)
//@Accessors(chain = true)
//@IndexName(value = "es_conversation", shardsNum = 1, replicasNum = 0)
//@ApiModel(value = "EsConversation对象", description = "会话记录对象")
//public class EsConversation {
//
//    @ApiModelProperty(value = "id")
//    @IndexId(type = IdType.CUSTOMIZE)
//    private Long id;
//
//    @ApiModelProperty(value = "当前用户id")
//    private Integer userId;
//
//    @ApiModelProperty(value = "会话对象用户id")
//    private Integer conversationUserId;
//
//    @ApiModelProperty(value = "会话对象用户名称")
//    private String conversationUserName;
//
//    @ApiModelProperty(value = "会话对象用户头像")
//    private String conversationUserImg;
//
//    @ApiModelProperty(value = "最后一条消息内容")
//    @IndexField(fieldType = FieldType.KEYWORD)
//    private String lastMessageContent;
//
//    @ApiModelProperty(value = "消息类型(2发送文字  3发送语音  4发送图片  5发送商品链接)")
//    private Integer type;
//
//    @ApiModelProperty(value = "发送消息时的时间戳")
//    private Long createTime;
//
//    @ApiModelProperty(value = "未读的消息数")
//    private Integer notReadNumber;
//
//    @ApiModelProperty(value = "扩展字段")
//    private String extendField;
//}
